StoreEngine\Utils\Helper D

Total Complexity 308
Dependencies 11
Dependents 175
Total lines 1,611
Lines of code 1,040
Logical lines of code 495
Comment lines 333
Methods 98
Properties 1

Methods 98

Method Rating Maintainability Complexity Lines of code
prepare_product_search_query_args()
A
41 10 62
is_request()
A
57 10 17
postcode_location_matcher()
A
48 9 31
get_frontend_dashboard_menu_items()
A
37 5 90
dif_from_human()
A
51 8 26
list_pluck()
A
53 8 23
get_sample_permalink_args()
A
51 8 23
sanitize_referer_url()
A
54 8 19
get_lost_password_url()
A
55 8 19
array_diff_recursive()
A
56 8 18
asort_by_locale()
S
50 7 29
get_user_ip()
S
57 7 14
get_endpoint_url()
S
51 6 26
setcookie()
S
52 6 23
is_purchase_the_membership()
S
50 5 30
get_payments_settings()
S
59 5 15
array_overlay()
S
60 5 13
star_rating_generator()
S
57 4 17
get_responsive_column()
S
56 4 17
get_all_roles()
S
57 4 17
get_enabled_payment_methods()
S
58 4 16
is_checkout()
S
72 5 4
get_wildcard_postcodes()
S
59 4 13
single_star_rating_generator()
S
62 4 12
get_frontend_dashboard_page_title()
S
62 4 12
is_rest_api_request()
S
61 4 11
check_rest_user_cap()
S
61 4 11
get_page_permalink()
S
65 4 8
set_time_limit()
S
70 4 5
is_valid_url()
S
65 4 9
is_dashboard()
S
72 4 4
get_checkout_url()
S
64 4 9
is_cart()
S
73 4 4
get_addon_active_status()
S
64 4 10
unset_cart_hash_in_cookie()
S
61 3 11
is_purchase_the_product()
S
57 2 19
get_permalink_structure()
S
55 2 19
get_page_by_title()
S
58 2 17
prepare_category_results()
S
64 3 10
get_product_term_ids()
S
73 3 4
uasort_comparison()
S
70 3 6
array_every()
S
67 3 8
set_cart_hash_in_cookie()
S
62 3 10
restore_locale()
S
66 3 8
switch_to_site_locale()
S
66 3 8
add_string_quote()
S
66 3 8
is_edit_address_page()
S
77 3 3
is_endpoint()
S
64 3 10
get_account_endpoint_url()
S
64 3 10
is_add_payment_method_page()
S
77 3 3
is_plugin_installed()
S
65 3 9
is_storeengine()
S
78 3 3
post_content_has_shortcode()
S
73 3 4
is_fse_theme()
S
66 3 9
get_reveiw_survey_form_radios()
S
63 2 11
is_plugin_active()
S
70 2 6
get_price_duration()
S
66 2 7
checkout_fields_uasort_comparison()
S
70 2 6
get_user_agent()
S
77 2 3
get_email_template_name()
S
70 2 6
is_storeengine_page()
S
70 2 6
get_date_format()
S
68 2 7
get_cart_hash_from_cookie()
S
77 2 3
get_var()
S
79 2 3
get_product_cat_ids()
S
67 2 7
is_shop()
S
78 2 3
maybe_define_constant()
S
74 2 5
round()
S
70 2 6
get_cart_hash()
S
69 2 7
get_storeengine_page_ids()
S
61 1 13
get_tax_rate()
S
63 1 11
get_coupon_types()
S
78 1 3
get_assets_url()
S
78 1 3
get_post_data_by_key()
S
77 1 3
get_addons_url()
S
76 1 3
get_plugin_url()
S
78 1 3
is_registration_required()
S
78 1 3
get_time()
S
78 1 3
shipping_zone_method_order_uasort_comparison()
S
78 1 3
is_active_storeengine_pro()
S
76 1 4
remove_line_break()
S
75 1 4
remove_tag_space()
S
78 1 3
get_country_name()
S
75 1 4
cart()
S
80 1 3
customer_edit_account_url()
S
74 1 4
get_cart_url()
S
78 1 3
get_settings()
S
74 1 4
meta_parser()
S
73 1 5
is_valid_site_url()
S
78 1 3
flush_rewire_rules()
S
79 1 3
is_product()
S
79 1 3
is_product_taxonomy()
S
79 1 3
is_product_category()
S
79 1 3
is_product_tag()
S
79 1 3
is_account_page()
S
80 1 3
get_all_product_category_lists()
S
66 1 9
is_url()
S
79 1 3
array_any()
S
77 1 3